﻿using Cassandra.Mapping.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Dreamwork.Core.Infrastructure
{
    public abstract class DataModel<T> : DataModel, IDataModel<T>
    {
        [Key]
		[PartitionKey]
        public virtual T Id { get; set; }
		/*
        public bool IsDelete { get; set; } = false;
        public DateTime CreateTime { get; set; }
        public DateTime? EditTime { get; set; }
        public DateTime? DeleteDate { get; set; }
        public int? OrderNumber { get; set; }
		*/
    }
}
